package com.cli.spring_session_demo.service;

import com.cli.spring_session_demo.model.User;

/**
 * @Author xiongmin
 * @Description //TODO
 * @Date 2020/3/25 15:19
 * @Version 1.0
 **/
public interface UserService {
    User findUserByAccountAndPassword(String account, String password);

    User findUserByUserId(long userId);

    void save(User user);
}
